<template>
  <div class="content-div">
    <div class="header">
      <div class="h1">我的新的分支</div>
      <div class="h2">Learning & Teaching</div>
    </div>
    <div class="content">
      <div class="left">
        <div class="top">Recruit</div>
        <div class="box">
          <div v-for="item in 5" :key="item">Student Recruitment</div>
        </div>
      </div>
      <div class="right">
        <div class="right_top">
          <div class="box1">
            <div class="top">Recruit</div>
            <div class="box1_content">
              <div>
                <div v-for="item in 2" :key="item" class="box1_content_item">
                  Student Recruitment
                </div>
              </div>
              <div style="margin-left: 10px">
                <div v-for="item in 3" :key="item" class="box1_content_item">
                  Student Recruitment
                </div>
              </div>
            </div>
          </div>
          <div class="box2">
            <div class="top">Recruit</div>
            <div class="box_content">
              <div v-for="item in 2" :key="item" class="box1_content_item">
                Student Recruitment promotes the institution and its curriculum
              </div>
            </div>
          </div>
          <div class="box3">
            <div class="top">Recruit</div>
            <div class="box_content">
              <div v-for="item in 2" :key="item" class="box1_content_item">
                Student Recruitment promotes the institution and its curriculum
              </div>
            </div>
          </div>
          <div class="box4">
            <div class="top">Recruit</div>
            <div class="box_content">
              <div v-for="item in 2" :key="item" class="box1_content_item">
                Student Recruitment promotes the institution and its curriculum
              </div>
            </div>
          </div>
        </div>
        <div class="right_center">
          <div class="right_center_item" v-for="item in 10" :key="item">
            Student Recruitment promotes
          </div>
        </div>
        <div class="right_footer">
          <div class="right_footer_item" v-for="item in 5" :key="item">
            Student Recruitment promotes
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.h1 {
  margin-top: 10px;
  color: #c14d5e;
  font-weight: 600;
  font-size: 22px;
}
.h2 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
}
.box1_content_item {
  background: #fff;
  border-radius: 5px;
  width: 60%;
  padding: 10px 6px;
  margin-bottom: 20px;
}

.content-div {
  padding: 10px;
  margin: 0 auto;
  width: 96%;
  background: #fff;
  border: 1px solid #999;
  color: #000;
  .top {
    color: white !important;
    width: 100% !important;
    display: inline-block !important;
    background: #c14d5e !important;
    padding: 5px !important;
    border-radius: 5px !important;
    margin-bottom: 10px !important;
  }
  .content {
    display: flex;
    margin-top: 20px;
  }
  .left {
    width: 300px;
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    .box {
      flex: 1;
      background: #eeeeee;
      border: 1px solid #999;
      padding: 20px;
      & > div {
        background: #fff;
        border-radius: 5px;
        width: 150px;
        padding: 10px 6px;
        margin-bottom: 20px;
      }
    }
  }
  .right {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}
.right_top {
  display: flex;
  flex: 1;
  .box1 {
    display: flex;
    flex-direction: column;
    flex: 1.6;
    margin-right: 10px;
    .box1_content {
      display: flex;
      height: 100%;
      & > div {
        flex: 1;
        background: #eeeeee;
        padding: 10px;
      }
    }
  }
  .box2,
  .box3,
  .box4 {
    display: flex;
    flex-direction: column;
    flex: 1;
    .box_content {
      flex: 1;
      padding: 10px;
      background: #eeeeee;
    }
  }
  .box3 {
    flex: 0.6;
    margin: 0 10px;
  }
  .box4 {
    flex: 0.6;
  }
}
.right_footer,
.right_center {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-gap: 10px;
  margin: 10px 0;
  background: #eeeeee;
  height: 200px;
  margin: 10px 0;
  padding: 20px;
  .right_footer_item,
  .right_center_item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
  }
}
.right_footer {
  height: 120px;
  margin: 0;
}
</style>
